<template>
  <div class="contents1 bgff p20" v-html="contents"></div>
</template>

<script>
import { _articleShow } from '@/http/ajax'
export default {
   props:{
        a_type: {
            type: String,
            default: ''
        }
       
    },
  name: "week1",
  data() {
    return {
      contents:''
    };
  },
  created(){
    _articleShow(this.a_type,res => {
      this.contents = res.content
    },err=>{})
  },
  methods: {}
};
</script>

<style lang="scss">
.contents1 {
  color: #666;
  h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
  }
  p {
    line-height: 2;
    font-size: 14px;
    padding-left: 2em;
  }
}
</style>
